.rehearse-button{
    width: fit-content;
    /* height: 3rem; */

    font-family: "Cheese";
    font-size: 3rem;

    padding: 1em;
    border-radius: 25px;

    background-color: plum;
}

.options-group{

    display: flex;
    flex-direction: column;
    align-items: center;
    
    border-radius: 12px;
    border: solid black 2px;
    padding: 4em;
    
    background-color: gold;
}

.options{

    display: none;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    
    /* border: solid; */
    margin-top: 1em;

    font-size: 2rem;
}

/* Everything below pertains to the Switch */
.switch-group{

    /* display: none; */
    /* visibility: hidden; */

    /* Variables: Scoped to everything within Switch-Group */
    --clr-graylight: #cfd8dc;
    --clr-graymed: #90a4ae;
  
    --radius: 8em;
    --width: 9.75em;
    --size: 1.5em;
  
    --animation-curve: cubic-bezier(0.34, 1.36, 0.2, 1);

    /* Style of the Group */
    width: var(--width);
    height: 2.25em;
    border-radius: var(--radius);

    box-shadow: 5px 5px 15px 5px lightgray;
    position: relative;
    margin: 1em 0;

    background: lightyellow;
    border: 0.2em solid black;
    font-size: clamp(1rem, 4vw, 1.5rem);
}

.caption-directions{
    font-family: "Candy";
}

#message-switch{
    
    position: absolute;
    top: .35em;
    left: 0.5em;
    
    /* display: none; */
    
    width: 6em;
    height: var(--size);
    border-radius: var(--radius);;

    background: plum;
    box-shadow: 2px 2px 10px 2px indigo;
    
    cursor: pointer;
    z-index: 99;    /* necessary? */
    
}

#message-switch::before{

    /* display: none; */
    /* font-family: ; */
    content: "Prevent";
    font-weight: bolder;
    font-size: 1.5em;
    text-align: center;
    
    position: absolute;
    top: -3;
    left: 0.4em; 
    /* top: -0.5em; */
    
    /* display: flex;
    justify-content: center;
    align-items: center; */
    
    /* opacity: 0; */

}

#message-switch::after{
    
    position: absolute;
    top: -3;
    left: 0.85em;

    content: "Allow";

    font-size: 1.5em;
    font-weight: bolder;
    
    /* top: 1.65em; */
    
    opacity: 0;
} 

#message-checkbox:checked ~ #message-switch::before{
    opacity: 0;
}

#message-checkbox:checked ~ #message-switch::after{
    opacity: 1;
}

#message-checkbox:checked ~ #message-switch{
    /* transform: rotateZ(360deg); */
    /* transform: translate(12em) rotateZ(360deg); */
    transform: translate(2.75em);
    background-color: yellowgreen;
    box-shadow: 2px 2px 10px 2px green;

}

#message-checkbox:checked ~ #message-switch, 
#message-checkbox:not(:checked) ~ #message-switch{
    transition: 1s var(--animation-curve);
}

#message-checkbox{
    visibility: hidden;
}